<template>
	<view class="Global">
		<!-- <image class="imagepage" src="/static/background@2x.png" mode=""></image> -->
		<bgImage></bgImage>
		<MyNav :title="title" bgColor="" :backIcon="isback"></MyNav>
		
		
		<view class="contentCenter">
			
			<view class="contentCenterTop">
				<view class="contentCenterTopLeft">
					<text class="contentCenterTopLeftText">设备名称</text>
					<text class="contentCenterTopLeftTextLable">*</text>
				</view>
				<input class="contentCenterTopRight" type="text" value="" placeholder="请输入" />
			</view>
			
			<view class="line"></view>
			
			<view class="contentCenterTop">
				<view class="contentCenterTopLeft">
					<text class="contentCenterTopLeftText">设备序列号</text>
					<text class="contentCenterTopLeftTextLable">*</text>
				</view>
				<input class="contentCenterTopRight" type="text" value="" placeholder="请输入" />
			</view>
			
			
			
		</view>
		
		
		
		<view class="loginContent">
		
				<button @click="createOrder()" style="color:#ffffff" class="login" type="default">{{login}}</button>
			</view>
		
		
		
	</view>
</template>

<script>
	import MyNav from '@/components/customnavbar.vue'
	import bgImage from '@/components/backgroundImage.vue'
	
	export default {
		components: {
			MyNav,
			bgImage
		},
		data() {
			return {
				login: '确定添加',
	
				title: '添加打印机',
	
				isback: true,
	
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	
	.imagepage {
	
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center;
		position: absolute;
		z-index: -1;
		left: 0;
		right: 0;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 100%;
	
	}
	
	.loginContent {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 750rpx;
	
		margin-top: 30rpx;
	}
	
	.login {
		display: flex;
		justify-content: center;
		margin-top: 20rpx;
		width: 690rpx;
		height: 100rpx;
	
		border-radius: 30rpx;
		font-weight: 400;
		font-size: 36rpx;
		color: #FFFFFF;
		text-align: center;
		font-weight: bold;
	
	
		background: linear-gradient(90deg, #45A8FF, #0AE1C6);
	
	}
	
	
	
	.line {
		width: 100%;
		height: 1rpx;
		background: #F9FCFF;
	
		
	
	}
	
	.contentCenterTopLeftTextLable{
		
		display: flex;
		justify-content: center;
		align-items: center;
		color: red;
	}
	
	.contentCenterTopLeftText{
		
		display: flex;
		justify-content: center;
		align-items: center;
		
		font-family: HarmonyOS Sans SC;
		font-weight: 600;
		font-size: 28rpx;
		color: #333333;
		line-height: 120rpx;
	}
	
	.contentCenterTopRight{
		
		display: flex;
		justify-content: center;
		align-items: center;
		font-family: HarmonyOS Sans SC;
		font-weight: 400;
		font-size: 28rpx;
		color: #BBBBBB;
		line-height: 120rpx;
		
		width: 100rpx;
		margin-right: 30rpx;
	}
	
	.contentCenterTopLeft{
		display: flex;
		justify-content: center;
		align-items: center;
		
		
		margin-left: 30rpx;
	}
	
	.contentCenterTop{
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 120rpx;
		
		align-items: center;
		
	}

.contentCenter{
	width: 690rpx;
	height: 240rpx;
	background: #FFFFFF;
	
	border-radius: 30rpx;
	
	flex-direction: column;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	
}
</style>
